package edu.spec.wfl.week09.class1.classroom.newclass;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateTest {
    public static void main(String[] args) {
        Date d =new Date();
        System.out.println(d);
        SimpleDateFormat sdf=new  SimpleDateFormat("yyyy年MM月dd日 hh：mm：ss");
        System.out.println(sdf.format(d));
        System.out.println(System.currentTimeMillis());
    }
}
